Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support template secret #699

Merged
merged 3 commits into from
Jul 28, 2023

Conversation

kyungwan-nam
Copy link
Contributor

#698.

${pvc.name}, ${pvc.namespace}, ${pvc.annotations['<annotation>']} will be resolved by user's pvc.
It works in my cluster.
can you review it when you are available?

@zwwhdls
Copy link
Member

zwwhdls commented Jul 26, 2023

Hi @kyungwan-nam , can you fix the gofmt and add unit test for function ResolveSecret ?

@kyungwan-nam
Copy link
Contributor Author

@zwwhdls
Hi. Thanks for your review
I added a unit test for ResolveSecret, and gofmt error is fixed.

@codecov-commenter
Copy link

Codecov Report

Patch coverage: 63.41% and project coverage change: +0.18% 🎉

Comparison is base (cdb1be7) 38.46% compared to head (bbf45ab) 38.64%.
Report is 7 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #699      +/-   ##
==========================================
+ Coverage   38.46%   38.64%   +0.18%     
==========================================
  Files          33       33              
  Lines        3939     3959      +20     
==========================================
+ Hits         1515     1530      +15     
- Misses       2278     2283       +5     
  Partials      146      146              
Files Changed Coverage Δ
pkg/config/config.go 0.00% <ø> (ø)
pkg/driver/provisioner.go 10.37% <0.00%> (-0.31%) ⬇️
pkg/util/pvc.go 66.66% <84.61%> (+7.29%) ⬆️
pkg/juicefs/mount/builder/common.go 47.26% <100.00%> (+1.07%) ⬆️

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@zwwhdls zwwhdls merged commit bef5de7 into juicedata:master Jul 28, 2023
@zwwhdls
Copy link
Member

zwwhdls commented Jul 28, 2023

@kyungwan-nam Thanks for your contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants